package Oct_2020_BETA.part4;

import java.util.ArrayList;
import java.util.Collection;

public class oct {
    public static void main(String[] args) {
        Collection c = new ArrayList();
        c.add(10);
        c.add("uop");
        System.out.println(c);

        Collection<String> L = new ArrayList<>();
        Integer[] i = {1, 2, 3, 4, 5};
        Double[] d = {1.1, 2.1, 23.3, 32.3};
        String[] s={"emil","esffd","fldpflp","kfodfkodfk"};
        System.out.println(i);
        System.out.println(d);
        System.out.println(c);
        for (Integer p :
                i) {
            System.out.println(p);
        }

    }

    public static <E> void s(E e) {

    }

    public static<E> void print(E[] i){
        for (E p :
                i) {
            System.out.println(p);
        }
    }
}
